package com.hbnu.exercise.basic;

import java.util.Arrays;
import java.util.Scanner;

public class Demo01_Sort
{
    public static void main(String[] args)
    {
        Scanner scanner = new Scanner(System.in);
        int[] nums = new int[5];
        for (int i = 0; i < nums.length; i++)
            nums[i] = scanner.nextInt();
        Arrays.sort(nums);
        for (int i : nums)
            System.out.print(i + " ");
    }
}
